﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Pages/Site.Master" AutoEventWireup="true" Inherits="GMS.Pages_SelectEdge" Codebehind="SelectEdge.aspx.cs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <div class="container">
        <div class="container_center">
            <h2>
                Select Edge Profile
            </h2>
            <p>
                Edges add style that matches your theme and provide a finished look to your kitchen.  Select the edge type you would like for your countertop.
            </p>
        
        <br />
        <div>
            <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                <ContentTemplate>
                    <asp:Repeater ID="rptrEdges" runat="server" OnItemCommand="rptrEdges_ItemCommand" OnItemDataBound="rptrSelectEdge_ItemDataBound">
                         <HeaderTemplate>
                        <ul class="media-grid">
                        </HeaderTemplate>
                        <ItemTemplate>
                            <li>
                               <div class="well-shape span3" style="text-align: center;" id="dvImg" runat="server">
                               <asp:ImageButton ID="imgBtn1" runat="server" AlternateText='<%# Bind("ImagePath") %>'
                                    ImageUrl='<%# Bind("ImagePath") %>' ToolTip='<%# Bind("ID") %>' CommandName="Click"
                                    CommandArgument='<%# Bind("Id") %>' Height="100" Width="150" />
                                <h4><asp:Label ID="lbl2" runat="server" Text='<%# Eval("Name") %>' /></h4>
                                <div>
                                <p><asp:Label ID="lbl3" runat="server" Text='<%# String.Concat("$ ", Eval("Price"), ".00 / Linear.ft.") %>' /></p>  
                                </div>
                             </div>
                        </li>
                        </ItemTemplate>
                        <FooterTemplate>
                            </ul></FooterTemplate>
                    </asp:Repeater>
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
        </div>
        <br />
        <div class="well" style="text-align: right;">
            <asp:Button ID="btnBack" runat="server" CssClass="btn primary" Text="Back" OnClick="btnBack_Click" />
            <asp:Button ID="Button1" runat="server" CssClass="btn primary" Text="Next" OnClick="btnNext_Click" />
        </div>
    </div>
    <asp:Panel ID="panel1" runat="server">
    </asp:Panel>
</asp:Content>
